From: Jimi Xenidis Date: Fri, 15 Sep 2006 02:06:15 +0000 (-0400) Subject: [POWERPC][XEN] Fix infinite loop caused by hdec storm X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15658^2~58 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=680212efe4c7382bc47dacde14588c8244655c2a;p=xen.git [POWERPC][XEN] Fix infinite loop caused by hdec storm This was the cause of the periodic hang on secondary processors that has been holding back the submission of the SMP patch. Signed-off-by: Amos Waterland Signed-off-by: Hollis Blanchard --- diff --git a/xen/arch/powerpc/time.c b/xen/arch/powerpc/time.c index 1811985199..184e07e54d 100644 --- a/xen/arch/powerpc/time.c +++ b/xen/arch/powerpc/time.c @@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout) s_time_t expire; if (timeout == 0) { - expire = 0; + expire = INT_MAX; } else { s_time_t now;